#include "all.h"
int main() {
	int temp;
	printf("Input a number\n");
	printf("0:关闭系统\n");
	printf("1:统计数据\n");
	printf("2:管理学生信息\n");
	printf("3:查找学生信息\n");
	printf("4:排名 \n");
	scanf_s("%d", &temp);
	switch (temp) {
	case 0:exit(0);
	case 1:readFromFile(); break;
	case 2:studentManagermMenu(); break;
	case 3:searchMenu(); break;
	case 4:sortMenu(); break;
	default:printf("Input the wrong number"); break;
	}
	return 0;
}